package com.ybb.production.domain;

import com.yubb.common.annotation.Excel;
import com.yubb.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 工序模板对象 garment_production_process_temp
 *
 * @author ruoyi
 * @date 2023-09-13
 */
public class GarmentProductionProcessTemp extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 工序模板id
     */
    @ApiModelProperty(value = "工序模板id")
    private Long id;

    /**
     * 模板名称
     */
    @ApiModelProperty(value = "模板名称")
    @Excel(name = "模板名称")
    private String tempName;

    /**
     * 动态数据
     */
    @ApiModelProperty(value = "动态数据")
    @Excel(name = "动态数据")
    private String dynamicData;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @ApiModelProperty(value = "删除标志（0代表存在 1代表删除）")
    private String delFlag;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setTempName(String tempName) {
        this.tempName = tempName;
    }

    public String getTempName() {
        return tempName;
    }

    public void setDynamicData(String dynamicData) {
        this.dynamicData = dynamicData;
    }

    public String getDynamicData() {
        return dynamicData;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("tempName", getTempName())
                .append("dynamicData", getDynamicData())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
